package com.spring.demo1;

public class User {
	private String bookname;
		//只需要构造一个set方法
		public void setBookname(String bookname) {
		this.bookname = bookname;
	}

		public void add(){
			System.out.println("bookname......"+bookname);
		}
			
}
